<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>新增用户</h3>
<hr/>
<form th:action="@{/course/update}" method="post">
    <input type="hidden" name="id" th:value="${course.id}">
    姓名：<input type="text" name="name" th:value="${course.name}"/><br/>
    成绩：<input type="text" name="score" th:value="${course.score}"/><br/>
    性别：<input type="radio" name="sex" value="1" th:field="${course.sex}"/>女
    <input type="radio" name="sex" value="0" th:field="${course.sex}"/>男<br/>
    生日：<input type="text" name="birth" th:value="${course.birth}"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>